<template>
  <lay-container class="container" :fluid="true">
    <slot></slot>
  </lay-container>
</template>

<style lang="less" scoped>
.container {
  padding: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;

  :deep(.layui-form) {
    .layui-date-picker,
    .layui-select {
      width: 100%;
    }
    .custom-rang {
      display: flex;
      > div {
        width: 50%;
        &:first-child {
          margin-right: 5px;
        }
      }
    }
  }

  :deep(.table-main) {
    flex: 1;
  }
}

.title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  margin-top: 12px;
}

.describe {
  font-size: 14px;
  margin-bottom: 12px;
}

.footer {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  background-color: #ffffff;
  border-top: 1px solid whitesmoke;
  line-height: 60px;
  height: 60px;

  .footer-button {
    right: 10px;
    position: absolute;
  }
}
</style>
